import QtQuick 1.0


ListView {
    property int numElement: 4

    id: theList
    //width: numElement * width
    height: 62
    orientation: ListView.Horizontal
    model: theModel
    snapMode: ListView.SnapToItem
    flickDeceleration: 500
    boundsBehavior: Flickable.StopAtBounds

    VisualItemModel {
        id: theModel
        BarText {
            width: theList.width
            text: "Activity"
            RightArrow {}

        }
        BarText {
            width: theList.width
            LeftArrow {}
            text: "Nearby Spots"
            RightArrow {}
        }
        BarText {
            width: theList.width
            LeftArrow {}
            text: "Suggested Spots"
            RightArrow {}
        }
        BarText {
            width: theList.width
            LeftArrow {}
            text: "Friends"
            RightArrow {}
        }
        BarText {
            width: theList.width
            LeftArrow {}
            text: "Me"
        }

    }
}

